package com.symaster.common.animation.view;

import com.alibaba.fastjson.JSONObject;
import com.symaster.common.animation.view.frame.CurveCreateView;

/**
 * @author yinmiao
 * @version 2023/11/2
 */
public class WindowsCurveCreateView {

    /**
     * 可视化创建曲线
     *
     * @return 返回曲线 Json 字符串
     */
    public static String create() {
        CurveCreateView curveCreateView = new CurveCreateView();
        return JSONObject.toJSONString(curveCreateView.open());
    }

    public static void main(String[] args) {
        String s = create();
        System.out.println(s);
    }
}
